


<div id="externallogin">
    <div class="externalcontainer bgcolor-main">
        <div id="externalloginmiddleleft">
            <h1>Login to BBPeopleMeet.com</h1>


            <?php
            $form = $this->beginWidget('CActiveForm', array(
              'id' => 'login-form',
              'enableClientValidation' => true,
            ));
            ?>
            <div class="row">

            </div>

            <div id="externalloginusername">
                <p>Email</p>
                
                <?php echo $form->textField($model, 'username'); ?>
            </div>
            
            
            
            <div style="margin-left: 124px; color:red;"><?php echo $form->error($model, 'username'); ?></div>
            <div id="externalloginpassword">
                <p>Password</p>
                
                <?php echo $form->passwordField($model, 'password'); ?>
               
            </div>
            
            <div style="margin-left: 124px; color:red;"><?php echo $form->error($model, 'password'); ?></div>
            <div id="externalloginrememberme">
                <!---<input id="chkRememberMe" name="RememberMe" value="true" type="checkbox">-->
                
                <?php echo $form->checkBox($model,'rememberMe',array('id'=>'chkRememberMe')); ?>
                <?php echo $form->error($model,'rememberMe'); ?>
                <label for="chkRememberMe"><p>Remember Me</p></label>
            </div>
            <div id="externalloginbtn">
                <?php echo CHtml::submitButton('Login'); ?>
            </div>


            <input value="<?php   ?>" id="ioBlackBox" name="ioBlackBox" type="hidden">



            <?php $this->endWidget(); ?>
        </div>
        <div id="externalloginmiddleright" class="bgcolor-login">
            <p>Not a member yet?<br>
                <a href="/site/register">Join Free</a>
            </p>
            <p>Forget password?<br>
                <a href="#">Click here</a>
            </p>
        </div>
        <p class="clearfix">&nbsp;</p>
    </div>
</div>
